package cate.game.role.res;

import cate.game.db.GameMongoDao;
import cate.game.role.Role;
import cate.game.role.RolePartGetter;
import org.springframework.data.mongodb.repository.MongoRepository;

public class RoleResGetter extends RolePartGetter<RoleRes> {
    public RoleResGetter(Role role) {
        super(role);
    }

    @Override
    protected MongoRepository<RoleRes, String> getRepo(GameMongoDao dao) {
        return dao.res;
    }
}
